package com.dingreading.cloud.web.service;

import com.dingreading.cloud.web.dto.ReadInterestQuestionDto;
import com.dingreading.cloud.web.entity.ReadInterestQuestion;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 *  服务层。
 *
 * @author Administrator
 * @since 2024-09-11
 */
public interface ReadInterestQuestionService extends IService<ReadInterestQuestion> {

    List<ReadInterestQuestionDto> dtoListByIds(List<Long> ids);

    // 基础题目分组后获取随机的一条数据，数据拼接格式：随机数.id
    List<String> randomNumberAndIds(Integer stage);

    // 获取阅读兴趣测评题目
    List<ReadInterestQuestionDto> getInterestQuestionList();

}
